// Fill out your copyright notice in the Description page of Project Settings.

#pragma once

#include "MPU6050Test.h"
#include <Poco/Mutex.h>

/**
 * 
 */
class MPU6050TEST_API ActorPose
{
public:
	ActorPose();
	~ActorPose();

	void InputRotation(float roll, float pitch, float yaw);
	void InputAcceleration(float x, float y, float z);

	void UpdateTransform(FTransform trans);

	FVector GetLocation();
	FRotator GetRotation();

	void Clear();

private:
	FVector CurrentPosition;
	FRotator CurrentRotation;
	FVector CurrentVelocity;

	Poco::Mutex Mutex;
};
